package learningThread.syn.synchronizedMethodLockObj.staticSyn.part2;

public class TestStatic {

    public static void main(String[] args) {
        Service service = new Service();
        ThreadA threadA = new ThreadA(service);
        threadA.setName("a");
        ThreadB threadB = new ThreadB(service);
        threadB.setName("b");
        ThreadC threadc = new ThreadC(service);
        threadc.setName("c");
        threadA.start();
        threadB.start();
        threadc.start();
    }
}
